<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	xmlns:t="http://myfaces.apache.org/tomahawk">

<table align="center">	
	<tr>
		<td align="center" valign="top">
			<p:dataTable var="preference"
				value="#{recommenderBean.moviesPreferences1}" page="1" rows="10" 
				paginator="true" pageLinks="0" paginatorTemplate="">
				<p:column>
					<f:facet name="header">
						<h:outputText value="#{msg.label_movie}" />
					</f:facet>
					<h:outputText value="#{preference.item.description}" />
				</p:column>
				<p:column>
					<f:facet name="header">
						<h:outputText value="#{msg.label_rate}" />
					</f:facet>
					<h:inputText value="#{preference.rate}" size="5"
						style="height: 18px;">
						<f:convertNumber type="number" minFractionDigits="2"
							maxIntegerDigits="2" pattern="0.00" />
					</h:inputText>
				</p:column>
			</p:dataTable>										
		</td>
		<td align="center" valign="top">
			<p:dataTable var="preference"
				value="#{recommenderBean.moviesPreferences2}" page="2" rows="10" 
				paginator="true" pageLinks="0" paginatorTemplate="">
				<p:column>
					<f:facet name="header">
						<h:outputText value="#{msg.label_movie}" />
					</f:facet>
					<h:outputText value="#{preference.item.description}" />
				</p:column>
				<p:column>
					<f:facet name="header">
						<h:outputText value="#{msg.label_rate}" />
					</f:facet>
					<h:inputText value="#{preference.rate}" size="5"
						style="height: 18px;">
						<f:convertNumber type="number" minFractionDigits="2"
							maxIntegerDigits="2" pattern="0.00" />
					</h:inputText>
				</p:column>
			</p:dataTable>										
		</td>
		<td align="center" valign="top">
			<p:dataTable var="preference"
				value="#{recommenderBean.moviesPreferences3}" page="3" rows="10" 
				paginator="true" pageLinks="0" paginatorTemplate="">
				<p:column>
					<f:facet name="header">
						<h:outputText value="#{msg.label_movie}" />
					</f:facet>
					<h:outputText value="#{preference.item.description}" />
				</p:column>
				<p:column>
					<f:facet name="header">
						<h:outputText value="#{msg.label_rate}" />
					</f:facet>
					<h:inputText value="#{preference.rate}" size="5"
						style="height: 18px;">
						<f:convertNumber type="number" minFractionDigits="2"
							maxIntegerDigits="2" pattern="0.00" />
					</h:inputText>
				</p:column>
			</p:dataTable>										
		</td>
	</tr>
</table>

</ui:composition>